package com.xgjweb.ac.utils
{
	import com.xgjweb.ac.domain.User;
	
	public class ApplicationScope
	{
		//记录上一次发送的留言
		public static var msg:String;
		//记录上一次回复的日志信息
		public static var revMsg:String;
		//记录登录的用户信息
		private static   var  user:User;
		//记录applicaton对象
		private static var application:Object;
		
		public function ApplicationScope()
		{
		}
		public  static  function setUser(userNew:User):void{
				user=userNew;
		}
		public  static function getUser():User{
				return user;
		}
		public  static  function setApplication(obj:Object):void{
			if(application==null)
				application=obj;
		}
		public  static function getApplication():Object{
				return application;
		}
	}
}